package com.fh.modules.dbms.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author qiujunda
 * @Date 14/07/2020
 * @Description
 */
@Data
@TableName("dbms_package_declare")
public class DbmsPackageDeclare implements Serializable {
    private static final long serialVersionUID = 10020L;

    /**主键*/
    @TableId(type = IdType.AUTO)
    private Long id;

    private Long packageId;

    private Integer lineId;

    private String content;

    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    private Integer delFlag;

    private String collectSid;
}
